package com.qijian.business.domain.query;


import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Set;


/**
 * 质检方案对象 查询条件类
 *
 * @author qijian
 * @date 2021-09-08
 */

@Data
@ToString
@TableName("purm_quality_scheme")
public class QualitySchemeQuery {

    @WhereType(tableName = "purm_quality_scheme", filed = "id")
    private Long id;
    @WhereType(tableName = "purm_quality_scheme", filed = "code", type = WhereTypeEnum.LIKE)
    private String code;
    @WhereType(tableName = "purm_quality_scheme", filed = "name", type = WhereTypeEnum.LIKE)
    private String name;
    @WhereType(tableName = "purm_quality_scheme", filed = "items")
    private String items;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
